package com.chen.authority.common.annotation;

import com.chen.authority.common.enums.BusinessType;

import java.lang.annotation.*;

/**
 * 日志注解
 *
 * @author chengy
 * @date 2022/11/03
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Log {

    /**
     * 操作模块
     */
    String module() default "";

    /**
     * 业务类型
     */
    BusinessType businessType() default BusinessType.OTHER;

}
